package com.groupsix.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

@Controller
public class ShowCotroller {
    //跳转至首页
    @RequestMapping("/")
    public String index(){
        return "pagehome/index";
    }
    //跳转至登录界面
    @RequestMapping("/loginView")
    public String login(){
        return "pagehome/login";
    }
    //跳转至注册界面
    @RequestMapping("/registerView")
    public String register(){
        return "pagehome/register";
    }
    //跳转至登录成功界面
    @RequestMapping("/loginsuccessView")
    public String loginsuccess(){
        return "pagehome/loginsuccess";
    }
}
